package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.SatCustomerClueVO;
import java.util.List;

/**
 * <p>
 * 客户线索 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-07-10
 */
public interface SatCustomerClueDubboService {

    SatCustomerClueVO getById(String id) throws Exception;

    void saveOrUpdate(SatCustomerClueVO satCustomerClueVO) throws Exception;

    void getClue(String clueId, LoginInfo loginInfo) throws Exception;

    void assignClue(String clueId,String getUser,LoginInfo loginInfo) throws Exception;

    void assignClueToP(String clueId,String partnerCode,LoginInfo loginInfo) throws Exception;

    PageInfo<SatCustomerClueVO> findPageByVO(SatCustomerClueVO satCustomerClueVO, Integer pageNum, Integer pageSize,LoginInfo loginInfo) throws Exception;

    Integer todayClueCount (LoginInfo loginInfo)throws Exception;

    void updateIsCreatedCust(String id);

    void areaManager(List<String> list, String partnerCode, String userCode,LoginInfo loginInfo)throws Exception;

    void autoAssign(List<SatCustomerClueVO> list,LoginInfo loginInfo) throws Exception;

   void updateByBusinessKey(SatCustomerClueVO satCustomerClueVO);
}
